#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int munu(int num)
{
	for (int i = 0; i < num; i++)
	{
		if (num % i == 0)
			i += i;
	}
}

int main()
{
	int m = 0;
	int n = 0;
	int num = 0;
	scanf("%d%d", &m, &n);
	for (num = m; num >= m && num <= n; num++)
	{
		if (munu(num))
			printf("%");
		else
			printf("none");
	}
	
	return 0;
}